<%-- 
    Document   : quizPage
    Created on : Nov 25, 2013, 2:12:40 PM
    Author     : Stefan
--%>

<%@page import="java.util.List"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="fragen" class="model.FragenKatalog" scope="session" />
<jsp:useBean id="frage" class="data.Frage" scope="page" />
<!DOCTYPE html>
<html>
    <%  
        frage=fragen.getFrage();
        String frageStr = frage.getFrageStellung();
        out.write(frageStr);
        out.write("<br>");
        List<String> antworten =frage.getAntworten();
        out.write(antworten.get(0));out.write("<br>");
        out.write(antworten.get(1));out.write("<br>");
        out.write(antworten.get(2));out.write("<br>");
        out.write(antworten.get(3));
    %>
    
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
    </head>
    <body>
    
        <h1></h1>
    </body>
</html>
